package lab02.test27;

import java.util.InputMismatchException;
import java.util.Scanner;

public class Test27 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入一个整数：");
        try {
            int numble=in.nextInt();
        }
        catch (InputMismatchException e){
            System.out.println("输入类型有误！");
        }


    }
}
